import request from '@/router/axios';


export const getList = (current, size, params) => {
    return request({
        url: '/api/mes-product/finished-inventory-report/page-inventory-age',
        method: 'get',
        params: {
            ...params,
            current,
            size
        }
    });
};


export const getDetail = (params) => {
    return request({
        url: '/api/mes-product/finished-inventory-report/list-processRouteDynamic',
        method: 'get',
        params
    });
};

export const computeQuantity = (params) => {
    return request({
        url: '/api/mes-product/finished-inventory-report/line-uncompleted-quantity',
        method: 'get',
        params
    });
};